//
//  DatePickerView.h
//  DatePickerStudy
//
//  Created by ht on 16/6/13.
//  Copyright © 2016年 apple. All rights reserved.
//


#import <UIKit/UIKit.h>


typedef void(^ConfirmBlock)(NSString *choseDate);
typedef void(^CannelBlock)(void);

@interface DatePickerView : UIView

@property (nonatomic,strong) UIDatePicker *datePicker;

@property (nonatomic,copy) ConfirmBlock confirmBlock;

@property (nonatomic,copy) CannelBlock cannelBlock;

- (DatePickerView *)initWithCustomeHeight:(CGFloat)height;

- (void)show;

- (void)disMiss;

@end
